package com.molichuxing.services.infrastructure.dto.response;

import com.molichuxing.services.property.OrderExclusivelStatusEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 专属里程订单状态流转dto
 * 
 * @author zoumingyu
 * @date 2019年8月15日
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderExclusivelStatusFlowDto extends OrderStatusFlowDto {
	private static final long serialVersionUID = -497277611300345544L;

	/**
	 * 专属里程订单状态
	 */
	private OrderExclusivelStatusEnum orderStatus;

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus == null ? null : OrderExclusivelStatusEnum.getEnum(orderStatus);
	}

}
